home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / Origami / Sources / src / Amiga / smakefiles / lib_smakefile < prev    next >
Encoding:
Makefile  |  1996-09-27  |  1.2 KB  |  57 lines

  1. #Makefile for the amiga port of origami
  2. #Version 1.6.92.1
  3. #
  4. SC=             sc
  5. SLINK=          slink
  6. OML=        oml
  7. #
  8. #FLAGS1 : compiler options for compiler behaviour
  9. FLAGS1=         ANSI NOICONS STRCON WARNVOIDRETURN IGNORE=104
  10. #
  11. #FLAGS2 : include options
  12. FLAGS2=         IDIR=origami:
  13. #
  14. #FLAGS3 : define options
  15. FLAGS3=         DEF=MOUSY DEF=LIB_COMPILE DEF=AMIGA DEF=REGEXP DEF=RE_CONF
  16. #
  17. #FLAGS4 : additional options
  18. FLAGS4=         OPTIMIZE OptComp=0 OptInl OptInlocal OptTime
  19. #FLAGS4=         PROFILE
  20. #
  21. #DEBUG_FLAGS : define DEBUG for DEGUB usage
  22. #DEBUG_FLAGS=    DEBUG=symbolflush
  23. #DEB_LD_FLAGS=   ADDSYM
  24.  
  25. SCFLAGS=        ResOpt $(FLAGS1) $(FLAGS2) $(FLAGS3) $(FLAGS4) $(DEBUG_FLAGS)
  26.  
  27. .c.o:
  28.                 $(SC) $(SCFLAGS) $*
  29.  
  30. #{{{}}}
  31. #{{{  OBJS
  32. OBJS=        /amiga/src/dir_name.o /amiga/src/getsysfile.o \
  33.         /amiga/src/amigafileio.o \
  34.         filetyp.o rcread.o \
  35.         rcwrite.o refcodetag.o refcomp.o refdecodetg.o refdecomp.o \
  36.                 bregex.o
  37. #}}}
  38.  
  39. #{{{  -> all
  40. all:            orilib.lib
  41. #}}}
  42.  
  43. #{{{  orilib.lib
  44. orilib.lib:       $(OBJS)
  45.         $(OML) orilib.lib r $(OBJS)
  46. #}}}
  47.  
  48. #{{{  -> reset
  49. reset:          clean
  50.         -delete orilib.lib smakefile
  51. #}}}
  52.  
  53. #{{{  -> clean
  54. clean:
  55.                 -delete \#?.o \#?.lnk \#?.tmp \#?.info
  56. #}}}
  57.